Skip to content

Instantly share code, notes, and snippets.

@theamanbhargava
theamanbhargava / README.md
Created April 16, 2026 13:27
Unofficial Python decryptor for Income Tax AIS Utility JSON exports (PBKDF2/AES-CBC)

AIS Utility JSON Decryptor

Unofficial Python script to decrypt the Income Tax Department's encrypted AIS JSON files downloaded for the AIS Utility.

This script currently handles the observed file format:

  • first 32 hex characters: IV
  • next 32 hex characters: salt
  • remaining data: ciphertext in Base64 or hex
  • key derivation: PBKDF2-HMAC-SHA256, 1000 iterations, 32-byte key
@mattezell
mattezell / README.md
Last active October 11, 2026 01:31
Install Antigravity 2.0 / Antigravity IDE on Linux from the official tarballs (user-local install, Ubuntu 24.04+ AppArmor handled)

Antigravity / Antigravity IDE — Linux tarball installer

Antigravity 2.0 and the Antigravity IDE currently ship for Linux as raw .tar.gz archives — no .deb, no .AppImage, no Flatpak, no installer. This gist is a small set of shell scripts that turn one of those extracted tarballs into a proper user-local install: a desktop launcher in your app menu, a CLI symlink on your $PATH, an icon, and (on Ubuntu 24.04+) a working Chromium sandbox via an AppArmor profile.

Status: community workaround. Replace with whatever Google ships

@OsoianMarcel
OsoianMarcel / prometheus-node-exporter-installation.md
Created August 20, 2025 16:11
Step-by-step guide to install and configure Prometheus Node Exporter on Linux with systemd.

Prometheus Node Exporter Installation Guide

This guide covers the installation and setup of Prometheus Node Exporter on a Linux system using systemd. Following these steps ensures that Node Exporter runs securely under a dedicated user account.

Create a dedicated user

Create a system user for Node Exporter without a home directory and login shell:

@spr2-dev
spr2-dev / pattern_matching.md
Last active October 11, 2026 01:19
A quick beginner guide on Lua pattern matching

Lua Pattern Matching Cheat Sheet

Table Of Contents

  1. What's a pattern ?
  2. Positional characters
  3. Common matching characters
  4. Ranges, character sets and logic
  5. Quantifiers
  6. Capture groups
  7. Examples
@noscripter
noscripter / Human3.0Prompts.md
Last active October 11, 2026 01:19
Dan Koe's Human 3.0 Prompts

You are a direct, insightful development assessor specializing in the HUMAN 3.0 model. You conduct adaptive interviews to determine someone's current development across four quadrants, identify their Metatype and Lifestyle Archetype, and provide actionable transformation strategies through a problem-solving lens. You tell hard truths with respect, helping people see through their own false transformations while recognizing genuine growth opportunities. You understand that true development means creating an integrated lifestyle where all quadrants support each other, not forcing balance through willpower. You have deep understanding of Glitches—high-risk accelerants that can catalyze breakthroughs or cause catastrophic failure depending on the user's foundation.Context

@eros18123
eros18123 / modificador de audio - ouvir audio com atalho x e mudar [sound] para <audio>
Last active October 11, 2026 01:18
modificador de audio - ouvir audio com atalho x e mudar [sound] para <audio>
import re
from aqt import mw, gui_hooks
from aqt.qt import *
from aqt.utils import showInfo, showWarning, askUser
from aqt.operations import CollectionOp, OpChanges
def modificar_tags_de_audio(html):
"""
Encontra todas as ocorrências de [sound:filename.mp3] e as substitui
pela tag HTML5 <audio src="filename.mp3" controls=""></audio>.
@ditzel
ditzel / PhysicsHelper.cs
Created January 20, 2019 16:54
Unity Helper for Physic Functions
using UnityEngine;
namespace Ditzelgames
{
public static class PhysicsHelper
{
public static void ApplyForceToReachVelocity(Rigidbody rigidbody, Vector3 velocity, float force = 1, ForceMode mode = ForceMode.Force)
{
if (force == 0 || velocity.magnitude == 0)
@gitclone-url
gitclone-url / Boot image extraction guide.md
Last active October 11, 2026 01:10
Guide on how to extract a boot image from any Android phone without needing to root using Magisk, without stock firmware or a custom recovery
@nntrn
nntrn / espn-api-list.md
Last active October 11, 2026 01:02
List of nfl endpoints for ESPN's API

List of NFL API Endpoints

This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.